﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="2.ascx.cs" Inherits="blackhouse.StareKino.QuartzActions.ASyncMails._2" %>
<%@ Register Src="~/ASyncMails/ReservationDetailTable.ascx" TagPrefix="uc1" TagName="ReservationDetailTable" %>
<%@ Register Src="~/ASyncMails/AdditionalInformation.ascx" TagPrefix="uc1" TagName="AdditionalInformation" %>
<%@ Import Namespace="blackhouse.Translator.Web" %>

<div style="padding: 10px 5%;">
    <p>
        <%=this.GetFormattedResource("Mails","mailS8", TranslatorFormatType.FormatString, this.Reservation.Client.FirstName, this.Reservation.Client.LastName)%>
,
        <br />
        <%=this.GetFormattedResource("Mails","mailS12", TranslatorFormatType.FormatString, this.Reservation.ArrivalDate) %>
    </p>
    <%if (System.Globalization.CultureInfo.CurrentCulture.Name == "pl-PL") {  %>
    <a href="<%=Request.Url.GetLeftPart(UriPartial.Authority) %>/dojazd-do-hotelu" target="_blank" style="background-color: #39A7C6; padding: 20px 10px; display: block; color: #FFFFFF; font-size: 110%; text-decoration: none;">
        <img src="<%=Request.Url.GetLeftPart(UriPartial.Authority) %>/Data/Sites/1/skins/starekino/images/blueButton.gif" />
        Zobacz jak dojechać do hotelu
    </a>
    <%} %>
</div>
<asp:PlaceHolder runat="server" ID="phAcountPayment">
    <div style="border-style: solid none solid none; border-width: 1px; border-color: #e2d8d3; font-size: 110%; padding: 15px 5% 15px 5%; background-color: #F9F4F2;">
        <h4><%=this.GetFormattedResource("Mails","mailS13") %></h4>
        <p>
            RR OFFICE Sp. Z o.o.<br />
            ul. Duńska 1<br />
            91-204 Łódź<br />
            <p>
                PKO BP o. Łódź 79 1020 3378 0000 1302 0187 1235
            </p>
        <p>
            <%=this.GetFormattedResource("Mails","mailS14") %>
            <asp:Literal runat="server" ID="ltlReservationNumber" /><br />
            <%=this.GetFormattedResource("Mails","mailS15") %>
            <asp:Literal runat="server" ID="ltlPaymentValue" />
        </p>
        <h4><%=this.GetFormattedResource("Mails","mailS16", TranslatorFormatType.FormatString, this.PaymentDate) %></h4>
    </div>
</asp:PlaceHolder>
<table style="border: none; width: 90%; margin-left: 5%; margin-top: 10px">
    <tbody>
        <tr>
            <td style="width: 15%; vertical-align: top;"><%=this.GetFormattedResource("Mails","mailS9") %>:
            </td>
            <td style="font-weight: bold; width: 35%; vertical-align: top;">
                <asp:Literal runat="server" ID="ltlClientName" /><br>
                tel.
                   
                <asp:Literal runat="server" ID="ltlClientPhone" />
                ,
                   
                <br>
                e-mail:
                   
                <asp:Literal runat="server" ID="ltlClientEMail" />
            </td>
            <td style="width: 15%; vertical-align: top;"><%=this.GetFormattedResource("Reservation","reservation") %>:
            </td>
            <td style="vertical-align: top; width: 35%; font-weight: bold;">
                <b>
                    <asp:Literal runat="server" ID="ltlReservationPeriod" /></b>,
                   
                <br />
                <%=this.GetFormattedResource("Mails","mailS10") %> <b>
                    <asp:Literal runat="server" ID="ltlArrivalTime" /></b>,
                   
                <br />
                <%=this.GetFormattedResource("Mails","mailS11") %>: <b>
                    <asp:Literal runat="server" ID="ltlReservationPeopleCount" /></b>
            </td>
        </tr>
    </tbody>
</table>
<uc1:ReservationDetailTable runat="server" ID="reservationDetailTable" />

<uc1:AdditionalInformation runat="server" ID="AdditionalInformation" />
